home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Over 1,000 Windows 95 Programs
/
Over 1000 Windows 95 Programs (Microforum) (Disc 1).iso
/
0091
/
qlsend.bat
< prev
next >
Wrap
DOS Batch File
|
1997-03-24
|
2KB
|
70 lines
Echo off
REM *********************************************************************/
REM */
REM SYSTEM : HQ-FAX, Uitilities */
REM COPYRIGHT : (c) 1993 HTF CONSULTING */
REM */
REM *********************************************************************/
REM */
REM BAT file name: QLSEND.bat */
REM DESCRIPTION : This batch file invokes the DOS command line send */
REM for Quick Link II by Smith Micro */
REM serving the folllowing FAX modems: */
REM Practical Peripherals, GVC, Micro-Tek, Cardinal, */
REM Nouveau, Wang, PC Logic, Packard Bell, Grammy, Viva*/
REM */
REM *********************************************************************/
REM
if %1 == 1 goto Covrsolo
if %1 == 2 goto Docsolo
if %1 == 3 goto CovrwDoc
if %1 == 4 goto Docmany
if %1 == 5 goto CDocmany
REM %1 isn't 1,2, or 3 - must be a file name
CLS
Echo Sending Document %1 w/out cover letter to %2
SNDFAX.bat /F:%1.QFX /FN:%2 %3 %4 %5
goto quit
:Covrsolo
CLS
Echo Sending Cover letter solo to %3
SNDFAX.bat /F:Covrletr.QFX /FN:%3 %4 %5 %6
goto quit
:Docsolo
CLS
Echo Sending Document %2 w/out cover letter to %3
SNDFAX.bat /F:%2.QFX /FN:%3 %4 %5 %6
goto quit
:CovrwDoc
CLS
Echo Sending Document "%2" with cover letter to %3
Copy Covrletr.QFX %2.f00
Erase Covrletr.QFX
Copy %2.QFX %2.f01
Erase %2.QFX
goto Preplist
:Docmany
Echo Sending multi-file document "%2" w/out cover letter to %3
goto Preplist
:CDocmany
Echo Sending multi-file document "%2" with cover letter to %3
Copy Covrletr.QFX %2.f00
Erase Covrletr.QFX
:Preplist
If exist %2.QFX Erase %2.QFX
Buildlst.exe %2 .FILE=
chdir C:\QL2fax
Convert.exe %2.LST /X /H
SNDFAX.bat /F:%2 /FN:%3 %4 %5 %6
chdir c:\
Echo on
:quit